package com.jp.annotation;

@Report
public class Person {
    @Report
    @Range(min = 1, max = 20)
    private String name;
    @Range(max = 20)
    private String city;

    @Report
    public void hi() {

    }

    @Report
    public Person(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
}
